package com.wind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 题目选项表
 * </p>
 *
 * @author xiao
 * @since 2021-05-19
 */
@Data
@Accessors(chain = true)
@TableName("topic_choice")
public class TopicChoice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 题目Id
     */
    @TableField("topic_Id")
    private Long topicId;
    /**
     * 题目
     */
    @TableField("topic")
    private String topic;
    /**
     * 内容
     */
    private String content;
    /**
     * 分类
     */
    private int score;
    /**
     * 维度
     */
    @TableField("dimensionalitys_Id")
    private String dimensionalitysId;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 状态
     */
    @TableField("is_active")
    private int isActive;
}
